package com.dong.internetWorm.mapper;

import com.dong.internetWorm.model.Movie;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieMapper {

    int insert(Movie movie);

    int update(Movie movie);

    Movie findById(@Param("id") String id);

    List<Movie> findAll();
}